package com.boarsoft.boar.entity;

/**
 * 接口参数对象
 */
public class FaceParam {
	public static final short FLAG_INPUT = 0; // 输入参数
	public static final short FLAG_OUTPUT = 1; // 输出参数

	/** ID */
	protected String id;
	/** 所属接口 */
	protected String faceId;
	/** 参数名 */
	protected String code;
	/** 参数中文名 */
	protected String name;
	/** 参数数据类型 */
	private String type;
	/** 输入参数还是输出参数 */
	private short flag = FLAG_INPUT;
	/** 参数长度 */
	protected int len;
	/** 参数描述 */
	protected String memo;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFaceId() {
		return faceId;
	}

	public void setFaceId(String faceId) {
		this.faceId = faceId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getLen() {
		return len;
	}

	public void setLen(int len) {
		this.len = len;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public short getFlag() {
		return flag;
	}

	public void setFlag(short flag) {
		this.flag = flag;
	}
}
